﻿using System;
using System.Collections.Generic;
using System.Text;
using System.Data;
using System.Data.Common;

namespace ArkEC.SEMs.DataAccess.MLM
{
    /// <summary>
    /// 语言资源的数据库操作接口
    /// </summary>
    public interface ILanResourceDA
    {
        /// <summary>
        /// 根据数据表来统计语言资源
        /// </summary>
        /// <param name="conn"></param>
        /// <param name="tran"></param>
        /// <param name="tableName"></param>
        /// <returns></returns>
        DataTable GetLanResStat(DbConnection conn, DbTransaction tran, string tableName);

        /// <summary>
        /// 获取所有语言资源
        /// </summary>
        /// <param name="conn"></param>
        /// <param name="tran"></param>
        /// <returns></returns>
        DataTable QuerySysValueRes(DbConnection conn, DbTransaction tran);
    }
}
